import { defineStore } from 'pinia'

export const useMenusStore = defineStore('menus', () => {
  const menus = ref([])
  function setMenus(data: any) {
    menus.value = data
  }
  function clearMenus() {
    menus.value = []
  }
  return { menus, setMenus, clearMenus }
})
